package com.google.ssm.dao;

import com.google.ssm.bean.OrderProductRelationship;
import com.google.ssm.bean.OrderProductRelationshipExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderProductRelationshipMapper {
    long countByExample(OrderProductRelationshipExample example);

    int deleteByExample(OrderProductRelationshipExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OrderProductRelationship record);

    int insertSelective(OrderProductRelationship record);

    List<OrderProductRelationship> selectByExample(OrderProductRelationshipExample example);

    OrderProductRelationship selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OrderProductRelationship record, @Param("example") OrderProductRelationshipExample example);

    int updateByExample(@Param("record") OrderProductRelationship record, @Param("example") OrderProductRelationshipExample example);

    int updateByPrimaryKeySelective(OrderProductRelationship record);

    int updateByPrimaryKey(OrderProductRelationship record);
}